package org.example.hm.dt;

/**
 * @version: 1
 * @description: java
 * @author: java
 * @create: 2020-06-02 11:47
 **/
public class Demo2 {

    public static void main(String[] args) {
        /*Person p = new student();
        p.lookHome();*/

    }
}

interface Person {
    public void lookHome();
}

class student implements Person {

    @Override
    public void lookHome() {
        System.out.println("看门狗！！！");
    }
}

class Stu2 implements Person {


    @Override
    public void lookHome() {

    }
}
